from flask import Flask

app = Flask(__name__)

# 导入蓝图
from bp.auth.routes import auth
from bp.blog.routes import blog

# 注册蓝图
app.register_blueprint(auth, url_prefix='/auth')
app.register_blueprint(blog, url_prefix='/blog')

if __name__ == '__main__':
    app.run(debug=True)